; * lisp/window.el (window-state-put): Fix a typo (bug#79013).
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Jul 2025 11:35:31 +0000 (14:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Jul 2025 11:35:31 +0000 (14:35 +0300)
lisp/window.el

index 678c32ea62cba9a44186d7b636a47b2004d71279..6eaa983f4c7165f882327169bb57132e894f7b38 100644 (file)
@@ -6485,7 +6485,7 @@ was killed since STATE was made, it will consult the variable
                           (if pixelwise 'min-pixel-height 'min-height)
                           head)))
         (min-width (cdr (assq
-                         (if pixelwise 'min-pixel-width 'min-weight)
+                         (if pixelwise 'min-pixel-width 'min-width)
                          head)))
         ;; Bind the following two variables.  `window--state-put-1' has
         ;; to fully control them (see Bug#50867 and Bug#64405).